<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><s:text name="title"/></title>
<link href="<%=request.getContextPath()%>/stage/css/inside.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/stage/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/JavaScript">
<!--
//-->
</script>
</head>

<body onload="MM_preloadImages('<%=request.getContextPath()%>/stage/images/menu0_01.jpg','<%=request.getContextPath()%>/stage/images/menu0_02.jpg','<%=request.getContextPath()%>/stage/images/menu0_03.jpg','<%=request.getContextPath()%>/stage/images/menu0_04.jpg','<%=request.getContextPath()%>/stage/images/menu0_05.jpg','<%=request.getContextPath()%>/stage/images/menu0_06.jpg','<%=request.getContextPath()%>/stage/images/menu0_07.jpg')">
<div class="mainbody">
<%@ include file="head1.jsp"%>
 <div class="intermediate">
    <h1>当前位置：首页&nbsp;&gt;&nbsp;<b><FONT COLOR="#FFCC66">订单明细</FONT></b></h1>
<%@ include file="left.jsp"%>
     <div class="right">
     	<form action="<%=request.getContextPath()%>/updateorder.action" method="post">
	      <h4><img src="<%=request.getContextPath()%>/stage/images/xdd/xdd_03.jpg" width="92" height="15" /></h4>
		  <div class="dhd">
		  <input type="hidden" name="clientOrderBo.cliOrdMasterId" value="<s:property value="clientOrderBo.cliOrdMasterId"/>"/>
		  <input type="hidden" name="clientOrderBo.userId" value="<s:property value="clientOrderBo.userId"/>"/>
		  <input type="hidden" name="clientOrderBo.total" value="<s:property value="clientOrderBo.total"/>"/>
		  <input type="hidden" name="clientOrderBo.orderNo" value="<s:property value="clientOrderBo.orderNo"/>"/>
		  <input type="hidden" name="clientOrderBo.orderStatus" value="<s:property value="clientOrderBo.orderStatus"/>"/>
		  <input type="hidden" name="clientOrderBo.delState" value="<s:property value="clientOrderBo.delState"/>"/>
		  <input type="hidden" name="clientOrderBo.midTotal" value="<s:property value="clientOrderBo.midTotal"/>"/>
		  <ul>
		     <li>订单编号：<s:property value="clientOrderBo.orderNo"/></li>
		     <li>订单状态：<s:property value="clientOrderBo.orderStatusName"/></li>
             <li>用户姓名：<input name="clientOrderBo.buyerName" value="<s:property value="clientOrderBo.buyerName"/>" type="text" class="dhd_srk" maxlength="50"/></li>
			 <li>用户电话：<input name="clientOrderBo.buyerTel" value="<s:property value="clientOrderBo.buyerTel"/>" type="text" class="dhd_srk" maxlength="50"/></li>
			 <li>送货地址：<input name="clientOrderBo.address" value="<s:property value="clientOrderBo.address"/>" type="text" class="dhd_srk" maxlength="100"/></li>
			 <li>下单日期：<input id="orderDate" name="clientOrderBo.orderDate" value="<s:property value="clientOrderBo.orderDate"/>" readonly="true" type="text" class="dhd_srk" />
			  <img onclick="WdatePicker({el:'orderDate'})" src="<%=request.getContextPath()%>/stage/js/My97DatePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle"></li>
			 <li>提货日期：<input id="receiveDate" name="clientOrderBo.receiveDate" value="<s:property value="clientOrderBo.receiveDate"/>" class="dhd_srk" readonly="true" type="text"/>
			 <img onclick="WdatePicker({el:'receiveDate'})" src="<%=request.getContextPath()%>/stage/js/My97DatePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle">
			 </li>
			 <li>订单总价：￥<s:property value="clientOrderBo.totalFormate"/></li>
		     <li style="height:50px"><span style=" float:left;line-height:82px;">商品说明：</span>
		       <label>
		        <textarea name="clientOrderBo.orderRemark" class="dhd_srk1" readonly="readonly"><s:property value="clientOrderBo.orderRemark"/></textarea>
		       </label>
		     </li>
		  </ul>
		  </div>
		  <h6>钻石列表：</h6>
          <div class="dhd_bg">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="27" align="center" class="xian_01">名称 </td>
                <td height="27" align="center" class="xian_01">编号</td>
                <td height="27" align="center" class="xian_01">证书</td>
                <td height="27" align="center" class="xian_01">钻重</td>
                <td height="27" align="center" class="xian_01">颜色</td>
                <td height="27" align="center" class="xian_01">净度 </td>
                <td height="27" align="center" class="xian_01">切工</td>
                <td height="27" align="center" class="xian_01">抛光</td>
                <td height="27" align="center" class="xian_01">对称</td>
                <td height="27" align="center" class="xian_01">荧光</td>
                <td height="27" align="center" class="xian_01">单价 </td>
                <td height="27" align="center" class="xian_01">状态</td>
                <td height="27" align="center" class="xian_01">加工</td>
              </tr>
              <s:iterator value="dataList" status="u">
				<s:if test="#u.index%2!=0"><tr bgcolor="#1F1F1F"></s:if>
				<s:else><tr></s:else>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="name"/> </td>
                <td width="12%" height="30" align="center" class="xian_02"><s:property value="batch"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="lab"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="weight"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="color"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="clarity"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="finalCut"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="polish"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="symmetry"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="fluor"/></td>
                <td width="8%" height="30" align="center" class="xian_02">￥<s:property value="priceFormat"/></td>
                <td width="8%" height="30" align="center" class="xian_02"><s:property value="state"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><a href="<%=request.getContextPath()%>/toinlay.action?orderNo=<s:property value="clientOrderBo.orderNo"/>&batch=<s:property value="batch"/>"><img src="<%=request.getContextPath()%>/stage/images/zscx/zscx_25.jpg" border="0"/></a></td>
              </tr>
             </s:iterator>
            </table>
      </div>
        <h6>钻托列表：</h6>
          <div class="dhd_bg">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="27" align="center" class="xian_01">钻托编号 </td>
                <td height="27" align="center" class="xian_01">镶钻编号</td>
                <td height="27" align="center" class="xian_01">材质</td>
                <td height="27" align="center" class="xian_01"> 手寸</td>
                <td height="27" align="center" class="xian_01"> 字印</td>
                <td height="27" align="center" class="xian_01"> 单价 </td>
                <td height="27" align="center" class="xian_01">状态</td>
              </tr>
              <s:iterator value="rangList" status="u">
				<s:if test="#u.index%2!=0"><tr bgcolor="#1F1F1F"></s:if>
				<s:else><tr></s:else>
                <td width="7%" height="30" align="center" class="xian_02"><s:property value="inlayBatch"/> </td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="inlayDiaBatch"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="material"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="hand"/></td>
                <td width="15%" height="30" align="center" class="xian_02"><s:property value="text"/></td>
                <td width="5%" height="30" align="center" class="xian_02">￥<s:property value="price"/></td>
                <td width="5%" height="30" align="center" class="xian_02"><s:property value="state"/></td>
              </tr>
             </s:iterator>
            </table>
      </div>
	  <h6 style="margin-top:10px;text-align:right;">
	    <label>
	    <input type="image" onclick="submit()" src="<%=request.getContextPath()%>/stage/images/xdd/tjdd.gif" />
	    </label>
	  </h6>
	  </form>
    </div>
 </div>
 <%@ include file="foot.jsp"%>
</div>
</body>
</html>
